package com.qzsoft.zhjd.server.modules.ludong.exp.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @ClassName: AsphaltRequiresController
 * @Description: 沥青类技术要求
 * @author zhaij
 * @since 2021-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("n_laboratory_asphalt_requires_ref")
public class CollectAsphaltRequiresRefEntity {

    @TableId(type = IdType.UUID)
    private String id;

    private String asphaltId;
    /*
     *最大值
     */
    private BigDecimal max;

    /*
     *最小值
     */
    private BigDecimal min;

    /*
     *温度
     */
    private BigDecimal temperature;

    /*
     *等级
     */
    private String level;

    /*
     *类型
     */
    private String type;
    /*
     *创建人
     */
    private String insertBy;

    @TableLogic
    @TableField(fill = FieldFill.INSERT, updateStrategy = FieldStrategy.NEVER)
    private String deleted;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insertTime;// 插入时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;// 更新时间
}
